package com.acquisition.param.domain;

/**
 * 网络参数
 *
 * @author wuqiwei
 * @date 2020/10/15
 */
public class NetworkParam {

	/**
	 * 无线网络APN
	 * 如果是用专用APN则要修改成相应的APN接入点，否则不需要修改。
	 */
	private String apnNetwork;

	/**
	 * APN用户名
	 * 若是用专用APN则要修改成相应的用户名，否则不需要修改。
	 */
	private String apnUserName;

	/**
	 * APN密码
	 * 若是用专用APN则要修改成相应的密码，否则不需要修改。
	 */
	private String apnUserPassword;

	/**
	 * CID
	 * CID,取值范围（0~15）。
	 */
	private Integer cid;

	/**
	 * 认证类型
	 * 0＝关闭;1＝PAP;2＝CHAP;3==PAP;CHAP auto。
	 */
	private Integer authenticationType;

	/**
	 * 网络类型
	 * 0＝自动;1＝仅LTE;2＝WCDMA;3==EVDO;4==TDSCDMA。
	 */
	private Integer networkType;

	/**
	 * PIN码
	 * 若是用专用APN则要修改成相应的密码，否则不需要修改。
	 */
	private String pin;

	/**
	 * APN拨号中心号码
	 * 建议不用修改。GPRS默认为*99***1#。CDMA默认为#777。TD默认为*98*1#。EVDO默认为#777。WCDMA默认为*99#。
	 */
	private String apnDialCenterNumber;

	public NetworkParam() {
		super();
	}

	public NetworkParam(String apnNetwork, String apnUserName, String apnUserPassword, Integer cid,
						Integer authenticationType, Integer networkType, String pin, String apnDialCenterNumber) {
		super();
		this.apnNetwork = apnNetwork;
		this.apnUserName = apnUserName;
		this.apnUserPassword = apnUserPassword;
		this.cid = cid;
		this.authenticationType = authenticationType;
		this.networkType = networkType;
		this.pin = pin;
		this.apnDialCenterNumber = apnDialCenterNumber;
	}

	public String getApnNetwork() {
		return apnNetwork;
	}

	public void setApnNetwork(String apnNetwork) {
		this.apnNetwork = apnNetwork;
	}

	public String getApnUserName() {
		return apnUserName;
	}

	public void setApnUserName(String apnUserName) {
		this.apnUserName = apnUserName;
	}

	public String getApnUserPassword() {
		return apnUserPassword;
	}

	public void setApnUserPassword(String apnUserPassword) {
		this.apnUserPassword = apnUserPassword;
	}

	public Integer getCid() {
		return cid;
	}

	public void setCid(Integer cid) {
		this.cid = cid;
	}

	public Integer getAuthenticationType() {
		return authenticationType;
	}

	public void setAuthenticationType(Integer authenticationType) {
		this.authenticationType = authenticationType;
	}

	public Integer getNetworkType() {
		return networkType;
	}

	public void setNetworkType(Integer networkType) {
		this.networkType = networkType;
	}

	public String getPin() {
		return pin;
	}

	public void setPin(String pin) {
		this.pin = pin;
	}

	public String getApnDialCenterNumber() {
		return apnDialCenterNumber;
	}

	public void setApnDialCenterNumber(String apnDialCenterNumber) {
		this.apnDialCenterNumber = apnDialCenterNumber;
	}

	@Override
	public String toString() {
		return "NetworkParam [apnNetwork=" + apnNetwork + ", apnUserName=" + apnUserName + ", apnUserPassword="
				+ apnUserPassword + ", cid=" + cid + ", authenticationType=" + authenticationType + ", networkType="
				+ networkType + ", pin=" + pin + ", apnDialCenterNumber=" + apnDialCenterNumber + "]";
	}

}
